package edu.whu.puppygo.dao;

import edu.whu.puppygo.entity.Pet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface PetDao extends JpaRepository<Pet, Long>, JpaSpecificationExecutor<Pet> {

    List<Pet> findByUserId(Long userId);
}